<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            perspective: 1600px;
            /* 透视 */
        }

        section:hover {
            transform: rotateY(960deg);
        }

        section {
            width: 200px;
            height: 300px;
            margin: 100px auto;
            position: relative;
            /* 相对定位 */
            background-size: cover;
            /* 覆盖背面 */
            transform-style: preserve-3d;
            /* 3D运行 */
            transition: all 60s linear;
            /* 完成的过度动画 */
            background: url(./img/动图LOGO.gif) no-repeat;
            background-size: 100%;
        }

        section div {
            top: 0;
            left: 0;
            position: absolute;
            /* 绝对定位 */
            background-size: cover;
            /* 背景透明 */
        }

        section div:nth-child(1) {
            transform: rotateY(0deg) translateZ(300px);
            /* 绕Y轴旋转，离中心轴距300px */
        }

        section div:nth-child(2) {
            transform: rotateY(60deg) translateZ(300px);
        }

        section div:nth-child(3) {
            transform: rotateY(120deg) translateZ(300px);
        }

        section div:nth-child(4) {
            transform: rotateY(180deg) translateZ(300px);
        }

        section div:nth-child(5) {
            transform: rotateY(240deg) translateZ(300px);
        }

        section div:nth-child(6) {
            transform: rotateY(300deg) translateZ(300px);
        }
    </style>
</head>

<body>
    <section>
        <div>
            <img src="./img/金刚狼1.jpg" alt="" height="100px">
        </div>
        <div>
            <img src="./img/钢铁侠.jpg" alt="" height="100px">
        </div>
        <div>
            <img src="./img/雷神.jpg" alt="" height="100px">
        </div>
        <div>
            <img src="./img/黑寡妇.jpg" alt="" height="100px">
        </div>
        <div>
            <img src="./img/黑豹.jpg" alt="" height="100px">
        </div>
        <div>
            <img src="./img/冬兵.jpeg" alt="" height="100px">
        </div>
    </section>
</body>

</html>